//
//  NSString+Additions.h
//  Gainko
//
//  Created by RanCheng.gu on 9/3/12.
//  Copyright (c) 2012 RanCheng.gu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Additions)

-(BOOL) isValidEmail;

-(NSDate*) convertToDate;

+(NSString*) StringFromBoolean:(BOOL)result;

- (NSString*)telephoneWithReformat;

-(BOOL) isValidPhone;

-(BOOL)isValidPassword;

-(BOOL)isValidTradePassword;

-(BOOL)isValidIDCardNO;

-(NSString *)escapedWildcard;

-(NSURL *)fullImagePathUrl;

-(NSString *)fullImagePath;
-(BOOL)isEmpty;

@end
